package TestDemo2;

import TestDemo1.TestJava1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2024-03-14
 * Time: 10:59
 */
public class TestJava2 extends TestJava1{
    public void func(){
        TestJava1 testJava1 = new TestJava1();
        System.out.println(super.a);
    }

    public static void main(String[] args) {
        TestJava2 testJava2 = new TestJava2();
        testJava2.func();
    }
}
